package cn.com.bdqn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户历史详单")
public class PyUserHistory {

  @ApiModelProperty(value = "ID")
  private Long id;

  @ApiModelProperty(value = "用户编码")
  private String userNo;

  @ApiModelProperty(value = "记录类型（0水费单 1交费单）")
  private Long typee;

  @ApiModelProperty(value = "水费单或交费单号")
  private String orderNo;

  @ApiModelProperty(value = "建单时间")
  private String datee;

  @ApiModelProperty(value = "上月表码（仅水费单有值）")
  private Long preValue;

  @ApiModelProperty(value = "本月表码（仅水费单有值）")
  private Long curValue;

  @ApiModelProperty(value = "用水量  （仅水费单有值）")
  private Long amount;

  @ApiModelProperty(value = "应缴水费（仅水费单有值）")
  private Double billMoney;

  @ApiModelProperty(value = "交费金额（仅交费单有值）")
  private Double payMoney;

  @ApiModelProperty(value = "余额/欠费（正数表示余额    负数表示欠费）")
  private Double userMoney;
}
